import axios from "../utils/http.js"
// 正常登录
export function loginDefaultPost(data) {
    return axios.post("/api" + "/pcUser/login", data)
}
export function loginPhoneCodeGet(data) {
    return axios.get("/api" + "/pcUser/login/send/code/"+data)
}
// 手机登录
export function loginPhonePost(data) {
    return axios.post("/api" + "/pcUser/login/mobile", data)
}
export function clearData() {
    return axios.get("/api" + "/pcUser/logout")
}